package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 视频流信息对象 ana_video_stream
 * 
 * @author wsx
 * @date 2025-07-30
 */
public class VideoStream extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 视频流ID */
    private Long streamId;

    /** 视频流标题 */
    @Excel(name = "视频流标题")
    private String streamTitle;

    /** 视频预览流URL */
    @Excel(name = "视频预览流URL")
    private String previewUrl;

    /** 视频采集流URL */
    @Excel(name = "视频采集流URL")
    private String captureUrl;

    /** 视频格式 */
    @Excel(name = "视频格式")
    private String videoFormat;

    /** 分辨率 */
    @Excel(name = "分辨率")
    private String resolution;

    /** 视频流排序 */
    @Excel(name = "视频流排序")
    private Long streamSort;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setStreamId(Long streamId) 
    {
        this.streamId = streamId;
    }

    public Long getStreamId() 
    {
        return streamId;
    }

    public void setStreamTitle(String streamTitle) 
    {
        this.streamTitle = streamTitle;
    }

    public String getStreamTitle() 
    {
        return streamTitle;
    }

    public void setPreviewUrl(String previewUrl) 
    {
        this.previewUrl = previewUrl;
    }

    public String getPreviewUrl() 
    {
        return previewUrl;
    }

    public void setCaptureUrl(String captureUrl) 
    {
        this.captureUrl = captureUrl;
    }

    public String getCaptureUrl() 
    {
        return captureUrl;
    }

    public void setVideoFormat(String videoFormat) 
    {
        this.videoFormat = videoFormat;
    }

    public String getVideoFormat() 
    {
        return videoFormat;
    }

    public void setResolution(String resolution) 
    {
        this.resolution = resolution;
    }

    public String getResolution() 
    {
        return resolution;
    }

    public void setStreamSort(Long streamSort) 
    {
        this.streamSort = streamSort;
    }

    public Long getStreamSort() 
    {
        return streamSort;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("streamId", getStreamId())
            .append("streamTitle", getStreamTitle())
            .append("previewUrl", getPreviewUrl())
            .append("captureUrl", getCaptureUrl())
                .append("videoFormat", getVideoFormat())
            .append("resolution", getResolution())
            .append("streamSort", getStreamSort())
                .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
